package com.hbnu.annotation;

/**
 * @author kittychen
 * @since 2025-10-20 16:23
 */
@MyAnnotation(name = "kitty")
public class AnnotationDemo {

    @Deprecated
    @MyAnnotation(schools = {"hbnu", "hit"})
    private String name;

    @SuppressWarnings("unchecked")
    public static void main(String[] args) {
        test("kittychen");
    }

    @Deprecated
    @MyAnnotation
    private static void test(@Deprecated String username) {
        System.out.println("test");
    }

    @Override
    public String toString() {
        return "AnnotationDemo{}";
    }
}
